#ifndef FRIEND_STUDY_H_
#define FRIEND_STUDY_H_
class Base;
class Friend;

void printBaseData(Base &base);
class Friend1;

class Friend1
{
    public:
        void printBaseData(Base &base);

};

class Base
{
    private:
        int baseData;

    public:
        Base(int baseData);
    friend class Friend;
    friend void printBaseData(Base &base);
    friend void Friend1::printBaseData(Base &base);
};

class Friend
{
    public:
        void readBase(Base &base);

};



#endif